package com.rental.model.vo.user;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "收藏、历史记录、发布记录的vo")
public class RecordVo {
    @Schema(description = "记录的所有json数据")
    private List<String> records;

    @Schema(description = "记录的总条数")
    private Long total;

    public RecordVo() {
    }

    public RecordVo(List<String> records, Long total) {
        this.records = records;
        this.total = total;
    }

}
